#include<bits/stdc++.h>
#define mod 998244353
using namespace std;
int n,m;
long long ans(1),inv[501];
inline int read()
{
	int x(0);char ch(getchar());
	while(ch<48||ch>57) ch=getchar();
	while(ch>=48&&ch<=57) x=x*10+(ch^48),ch=getchar();
	return x;
}
int main()
{
	freopen("soft.in","r",stdin);
	freopen("soft.out","w",stdout);
	n=read(),m=read();inv[1]=1;
	for(int i=2;i<=500;i++) inv[i]=(mod-mod/i)*inv[mod%i]%mod;
	n--;
	for(int i=0;i<m;i++)
	{
		printf("%lld\n",ans);
		ans=ans*(n-i)%mod*inv[i+1]%mod;
	}
	return 0;
}
